#!/usr/bin/python
# -*- coding: latin-1 -*-
#--------------------------
# Module simple_alu
# Author: Rodrigo Peixoto
#--------------------------

from myhdl import *
from exceptions  import Exception
from random import randrange

def Mux4(a,b,sel,output):
    def execute():
        if sel == 0x1:
            result.next = a
        else:
            restul.next = b
    return execute
